home *** CD-ROM | disk | FTP | other *** search
/ Cream of the Crop 11 / Cream of the Crop 11-1.iso / program / togvb25.zip / VB.ZIP / TOGCOLOR.FRM < prev    next >
Text File  |  1996-01-01  |  31KB  |  964 lines

  1. VERSION 2.00
  2. Begin Form TogColor 
  3.    BackColor       =   &H00C0C0C0&
  4.    BorderStyle     =   1  'Fixed Single
  5.    Caption         =   "Toggle Color & Text Properties"
  6.    ClientHeight    =   5445
  7.    ClientLeft      =   1785
  8.    ClientTop       =   1965
  9.    ClientWidth     =   8715
  10.    Height          =   5850
  11.    Left            =   1725
  12.    LinkTopic       =   "Form2"
  13.    MaxButton       =   0   'False
  14.    MDIChild        =   -1  'True
  15.    ScaleHeight     =   363
  16.    ScaleMode       =   3  'Pixel
  17.    ScaleWidth      =   581
  18.    Top             =   1620
  19.    Width           =   8835
  20.    Begin Frame Frame6 
  21.       BackColor       =   &H00C0C0C0&
  22.       Caption         =   "Border && Outline Properties"
  23.       FontBold        =   -1  'True
  24.       FontItalic      =   0   'False
  25.       FontName        =   "Arial"
  26.       FontSize        =   8.25
  27.       FontStrikethru  =   0   'False
  28.       FontUnderline   =   0   'False
  29.       Height          =   3075
  30.       Left            =   180
  31.       TabIndex        =   28
  32.       Top             =   2190
  33.       Width           =   3975
  34.       Begin HScrollBar HScroll3 
  35.          Height          =   255
  36.          Index           =   0
  37.          Left            =   1140
  38.          Max             =   10
  39.          TabIndex        =   29
  40.          Top             =   1020
  41.          Width           =   2000
  42.       End
  43.       Begin HScrollBar HScroll3 
  44.          Height          =   255
  45.          Index           =   1
  46.          Left            =   1140
  47.          Max             =   10
  48.          TabIndex        =   30
  49.          Top             =   1305
  50.          Width           =   2000
  51.       End
  52.       Begin Frame Frame5 
  53.          BackColor       =   &H00C0C0C0&
  54.          Caption         =   "BevelOuter"
  55.          FontBold        =   -1  'True
  56.          FontItalic      =   0   'False
  57.          FontName        =   "Arial"
  58.          FontSize        =   8.25
  59.          FontStrikethru  =   0   'False
  60.          FontUnderline   =   0   'False
  61.          Height          =   1185
  62.          Left            =   2130
  63.          TabIndex        =   31
  64.          Top             =   1680
  65.          Width           =   1455
  66.          Begin OptionButton Option2 
  67.             BackColor       =   &H00C0C0C0&
  68.             Caption         =   "Inset"
  69.             FontBold        =   0   'False
  70.             FontItalic      =   0   'False
  71.             FontName        =   "Arial"
  72.             FontSize        =   8.25
  73.             FontStrikethru  =   0   'False
  74.             FontUnderline   =   0   'False
  75.             ForeColor       =   &H00000000&
  76.             Height          =   225
  77.             Index           =   2
  78.             Left            =   150
  79.             TabIndex        =   32
  80.             Top             =   840
  81.             Value           =   -1  'True
  82.             Width           =   800
  83.          End
  84.          Begin OptionButton Option2 
  85.             BackColor       =   &H00C0C0C0&
  86.             Caption         =   "Raised"
  87.             FontBold        =   0   'False
  88.             FontItalic      =   0   'False
  89.             FontName        =   "Arial"
  90.             FontSize        =   8.25
  91.             FontStrikethru  =   0   'False
  92.             FontUnderline   =   0   'False
  93.             ForeColor       =   &H00000000&
  94.             Height          =   225
  95.             Index           =   1
  96.             Left            =   150
  97.             TabIndex        =   35
  98.             Top             =   570
  99.             Width           =   800
  100.          End
  101.          Begin OptionButton Option2 
  102.             BackColor       =   &H00C0C0C0&
  103.             Caption         =   "None"
  104.             FontBold        =   0   'False
  105.             FontItalic      =   0   'False
  106.             FontName        =   "Arial"
  107.             FontSize        =   8.25
  108.             FontStrikethru  =   0   'False
  109.             FontUnderline   =   0   'False
  110.             ForeColor       =   &H00000000&
  111.             Height          =   225
  112.             Index           =   0
  113.             Left            =   150
  114.             TabIndex        =   36
  115.             Top             =   300
  116.             Width           =   800
  117.          End
  118.       End
  119.       Begin Frame Frame4 
  120.          BackColor       =   &H00C0C0C0&
  121.          Caption         =   "BevelInner"
  122.          FontBold        =   -1  'True
  123.          FontItalic      =   0   'False
  124.          FontName        =   "Arial"
  125.          FontSize        =   8.25
  126.          FontStrikethru  =   0   'False
  127.          FontUnderline   =   0   'False
  128.          Height          =   1185
  129.          Left            =   540
  130.          TabIndex        =   37
  131.          Top             =   1680
  132.          Width           =   1455
  133.          Begin OptionButton Option1 
  134.             BackColor       =   &H00C0C0C0&
  135.             Caption         =   "None"
  136.             FontBold        =   0   'False
  137.             FontItalic      =   0   'False
  138.             FontName        =   "Arial"
  139.             FontSize        =   8.25
  140.             FontStrikethru  =   0   'False
  141.             FontUnderline   =   0   'False
  142.             ForeColor       =   &H00000000&
  143.             Height          =   225
  144.             Index           =   0
  145.             Left            =   150
  146.             TabIndex        =   38
  147.             Top             =   300
  148.             Width           =   800
  149.          End
  150.          Begin OptionButton Option1 
  151.             BackColor       =   &H00C0C0C0&
  152.             Caption         =   "Raised"
  153.             FontBold        =   0   'False
  154.             FontItalic      =   0   'False
  155.             FontName        =   "Arial"
  156.             FontSize        =   8.25
  157.             FontStrikethru  =   0   'False
  158.             FontUnderline   =   0   'False
  159.             ForeColor       =   &H00000000&
  160.             Height          =   225
  161.             Index           =   1
  162.             Left            =   150
  163.             TabIndex        =   39
  164.             Top             =   570
  165.             Value           =   -1  'True
  166.             Width           =   800
  167.          End
  168.          Begin OptionButton Option1 
  169.             BackColor       =   &H00C0C0C0&
  170.             Caption         =   "Inset"
  171.             FontBold        =   0   'False
  172.             FontItalic      =   0   'False
  173.             FontName        =   "Arial"
  174.             FontSize        =   8.25
  175.             FontStrikethru  =   0   'False
  176.             FontUnderline   =   0   'False
  177.             ForeColor       =   &H00000000&
  178.             Height          =   225
  179.             Index           =   2
  180.             Left            =   150
  181.             TabIndex        =   40
  182.             Top             =   840
  183.             Width           =   800
  184.          End
  185.       End
  186.       Begin CheckBox Check3 
  187.          BackColor       =   &H00C0C0C0&
  188.          Caption         =   "Outline"
  189.          FontBold        =   -1  'True
  190.          FontItalic      =   0   'False
  191.          FontName        =   "Arial"
  192.          FontSize        =   8.25
  193.          FontStrikethru  =   0   'False
  194.          FontUnderline   =   0   'False
  195.          Height          =   225
  196.          Left            =   1770
  197.          TabIndex        =   41
  198.          Top             =   360
  199.          Width           =   1635
  200.       End
  201.       Begin Label Label2 
  202.          BackColor       =   &H00000000&
  203.          Height          =   315
  204.          Index           =   2
  205.          Left            =   1140
  206.          TabIndex        =   42
  207.          Top             =   660
  208.          Width           =   2000
  209.       End
  210.       Begin Label Label1 
  211.          Alignment       =   1  'Right Justify
  212.          AutoSize        =   -1  'True
  213.          BackStyle       =   0  'Transparent
  214.          Caption         =   "OutlineColor:"
  215.          FontBold        =   0   'False
  216.          FontItalic      =   0   'False
  217.          FontName        =   "Arial"
  218.          FontSize        =   8.25
  219.          FontStrikethru  =   0   'False
  220.          FontUnderline   =   0   'False
  221.          Height          =   210
  222.          Index           =   14
  223.          Left            =   165
  224.          TabIndex        =   43
  225.          Top             =   720
  226.          Width           =   915
  227.       End
  228.       Begin Label Label1 
  229.          Alignment       =   1  'Right Justify
  230.          AutoSize        =   -1  'True
  231.          BackStyle       =   0  'Transparent
  232.          Caption         =   "BevelWidth:"
  233.          FontBold        =   0   'False
  234.          FontItalic      =   0   'False
  235.          FontName        =   "Arial"
  236.          FontSize        =   8.25
  237.          FontStrikethru  =   0   'False
  238.          FontUnderline   =   0   'False
  239.          Height          =   210
  240.          Index           =   13
  241.          Left            =   225
  242.          TabIndex        =   50
  243.          Top             =   1050
  244.          Width           =   855
  245.       End
  246.       Begin Label Label6 
  247.          AutoSize        =   -1  'True
  248.          BackStyle       =   0  'Transparent
  249.          Caption         =   "2"
  250.          Height          =   195
  251.          Index           =   0
  252.          Left            =   3240
  253.          TabIndex        =   51
  254.          Top             =   1050
  255.          Width           =   120
  256.       End
  257.       Begin Label Label1 
  258.          Alignment       =   1  'Right Justify
  259.          AutoSize        =   -1  'True
  260.          BackStyle       =   0  'Transparent
  261.          Caption         =   "BorderWidth:"
  262.          FontBold        =   0   'False
  263.          FontItalic      =   0   'False
  264.          FontName        =   "Arial"
  265.          FontSize        =   8.25
  266.          FontStrikethru  =   0   'False
  267.          FontUnderline   =   0   'False
  268.          Height          =   210
  269.          Index           =   12
  270.          Left            =   135
  271.          TabIndex        =   52
  272.          Top             =   1350
  273.          Width           =   945
  274.       End
  275.       Begin Label Label6 
  276.          AutoSize        =   -1  'True
  277.          BackStyle       =   0  'Transparent
  278.          Caption         =   "2"
  279.          Height          =   195
  280.          Index           =   1
  281.          Left            =   3225
  282.          TabIndex        =   53
  283.          Top             =   1350
  284.          Width           =   120
  285.       End
  286.    End
  287.    Begin Frame Frame3 
  288.       BackColor       =   &H00C0C0C0&
  289.       Caption         =   "Text Offset while Toggle is Pressed"
  290.       FontBold        =   -1  'True
  291.       FontItalic      =   0   'False
  292.       FontName        =   "Arial"
  293.       FontSize        =   8.25
  294.       FontStrikethru  =   0   'False
  295.       FontUnderline   =   0   'False
  296.       Height          =   1005
  297.       Left            =   4470
  298.       TabIndex        =   34
  299.       Top             =   4260
  300.       Width           =   4050
  301.       Begin HScrollBar HScroll1 
  302.          Height          =   255
  303.          Index           =   2
  304.          Left            =   1200
  305.          Max             =   50
  306.          Min             =   -50
  307.          TabIndex        =   45
  308.          Top             =   300
  309.          Width           =   2000
  310.       End
  311.       Begin HScrollBar HScroll2 
  312.          Height          =   255
  313.          Index           =   2
  314.          Left            =   1200
  315.          Max             =   50
  316.          Min             =   -50
  317.          TabIndex        =   44
  318.          Top             =   615
  319.          Width           =   2000
  320.       End
  321.       Begin Label Label1 
  322.          Alignment       =   1  'Right Justify
  323.          AutoSize        =   -1  'True
  324.          BackStyle       =   0  'Transparent
  325.          Caption         =   "PushX:"
  326.          FontBold        =   0   'False
  327.          FontItalic      =   0   'False
  328.          FontName        =   "Arial"
  329.          FontSize        =   8.25
  330.          FontStrikethru  =   0   'False
  331.          FontUnderline   =   0   'False
  332.          Height          =   210
  333.          Index           =   11
  334.          Left            =   630
  335.          TabIndex        =   49
  336.          Top             =   330
  337.          Width           =   510
  338.       End
  339.       Begin Label Label4 
  340.          AutoSize        =   -1  'True
  341.          BackStyle       =   0  'Transparent
  342.          Caption         =   "0"
  343.          Height          =   195
  344.          Index           =   2
  345.          Left            =   3270
  346.          TabIndex        =   48
  347.          Top             =   345
  348.          Width           =   120
  349.       End
  350.       Begin Label Label1 
  351.          Alignment       =   1  'Right Justify
  352.          AutoSize        =   -1  'True
  353.          BackStyle       =   0  'Transparent
  354.          Caption         =   "PushY:"
  355.          FontBold        =   0   'False
  356.          FontItalic      =   0   'False
  357.          FontName        =   "Arial"
  358.          FontSize        =   8.25
  359.          FontStrikethru  =   0   'False
  360.          FontUnderline   =   0   'False
  361.          Height          =   210
  362.          Index           =   10
  363.          Left            =   615
  364.          TabIndex        =   47
  365.          Top             =   630
  366.          Width           =   525
  367.       End
  368.       Begin Label Label5 
  369.          AutoSize        =   -1  'True
  370.          BackStyle       =   0  'Transparent
  371.          Caption         =   "0"
  372.          Height          =   195
  373.          Index           =   2
  374.          Left            =   3270
  375.          TabIndex        =   46
  376.          Top             =   645
  377.          Width           =   120
  378.       End
  379.    End
  380.    Begin CheckBox Check2 
  381.       BackColor       =   &H00C0C0C0&
  382.       Caption         =   "TwoState"
  383.       Height          =   225
  384.       Left            =   1140
  385.       TabIndex        =   33
  386.       Top             =   1590
  387.       Width           =   1635
  388.    End
  389.    Begin CheckBox Check1 
  390.       BackColor       =   &H00C0C0C0&
  391.       Caption         =   "MouseControl"
  392.       Height          =   225
  393.       Left            =   1140
  394.       TabIndex        =   21
  395.       Top             =   1350
  396.       Value           =   1  'Checked
  397.       Width           =   1635
  398.    End
  399.    Begin Frame Frame2 
  400.       BackColor       =   &H00C0C0C0&
  401.       Caption         =   "Off Properties"
  402.       FontBold        =   -1  'True
  403.       FontItalic      =   0   'False
  404.       FontName        =   "Arial"
  405.       FontSize        =   8.25
  406.       FontStrikethru  =   0   'False
  407.       FontUnderline   =   0   'False
  408.       Height          =   2055
  409.       Left            =   4470
  410.       TabIndex        =   14
  411.       Top             =   120
  412.       Width           =   4050
  413.       Begin HScrollBar HScroll2 
  414.          Height          =   255
  415.          Index           =   1
  416.          Left            =   1170
  417.          Max             =   50
  418.          Min             =   -50
  419.          TabIndex        =   3
  420.          Top             =   1620
  421.          Width           =   2000
  422.       End
  423.       Begin HScrollBar HScroll1 
  424.          Height          =   255
  425.          Index           =   1
  426.          Left            =   1170
  427.          Max             =   50
  428.          Min             =   -50
  429.          TabIndex        =   5
  430.          Top             =   1305
  431.          Width           =   2000
  432.       End
  433.       Begin TextBox Text1 
  434.          Height          =   315
  435.          Index           =   1
  436.          Left            =   1185
  437.          TabIndex        =   15
  438.          Text            =   "Off"
  439.          Top             =   285
  440.          Width           =   2000
  441.       End
  442.       Begin Label Label5 
  443.          AutoSize        =   -1  'True
  444.          BackStyle       =   0  'Transparent
  445.          Caption         =   "0"
  446.          Height          =   195
  447.          Index           =   1
  448.          Left            =   3255
  449.          TabIndex        =   9
  450.          Top             =   1650
  451.          Width           =   120
  452.       End
  453.       Begin Label Label1 
  454.          Alignment       =   1  'Right Justify
  455.          AutoSize        =   -1  'True
  456.          BackStyle       =   0  'Transparent
  457.          Caption         =   "OffY:"
  458.          FontBold        =   0   'False
  459.          FontItalic      =   0   'False
  460.          FontName        =   "Arial"
  461.          FontSize        =   8.25
  462.          FontStrikethru  =   0   'False
  463.          FontUnderline   =   0   'False
  464.          Height          =   210
  465.          Index           =   9
  466.          Left            =   705
  467.          TabIndex        =   10
  468.          Top             =   1635
  469.          Width           =   405
  470.       End
  471.       Begin Label Label4 
  472.          AutoSize        =   -1  'True
  473.          BackStyle       =   0  'Transparent
  474.          Caption         =   "0"
  475.          Height          =   195
  476.          Index           =   1
  477.          Left            =   3255
  478.          TabIndex        =   11
  479.          Top             =   1350
  480.          Width           =   120
  481.       End
  482.       Begin Label Label1 
  483.          Alignment       =   1  'Right Justify
  484.          AutoSize        =   -1  'True
  485.          BackStyle       =   0  'Transparent
  486.          Caption         =   "OffX:"
  487.          FontBold        =   0   'False
  488.          FontItalic      =   0   'False
  489.          FontName        =   "Arial"
  490.          FontSize        =   8.25
  491.          FontStrikethru  =   0   'False
  492.          FontUnderline   =   0   'False
  493.          Height          =   210
  494.          Index           =   8
  495.          Left            =   705
  496.          TabIndex        =   12
  497.          Top             =   1335
  498.          Width           =   390
  499.       End
  500.       Begin Label Label1 
  501.          Alignment       =   1  'Right Justify
  502.          AutoSize        =   -1  'True
  503.          BackStyle       =   0  'Transparent
  504.          Caption         =   "OffCaption:"
  505.          FontBold        =   0   'False
  506.          FontItalic      =   0   'False
  507.          FontName        =   "Arial"
  508.          FontSize        =   8.25
  509.          FontStrikethru  =   0   'False
  510.          FontUnderline   =   0   'False
  511.          Height          =   210
  512.          Index           =   5
  513.          Left            =   300
  514.          TabIndex        =   20
  515.          Top             =   330
  516.          Width           =   825
  517.       End
  518.       Begin Label Label1 
  519.          Alignment       =   1  'Right Justify
  520.          AutoSize        =   -1  'True
  521.          BackStyle       =   0  'Transparent
  522.          Caption         =   "OffBackColor:"
  523.          FontBold        =   0   'False
  524.          FontItalic      =   0   'False
  525.          FontName        =   "Arial"
  526.          FontSize        =   8.25
  527.          FontStrikethru  =   0   'False
  528.          FontUnderline   =   0   'False
  529.          Height          =   210
  530.          Index           =   4
  531.          Left            =   120
  532.          TabIndex        =   19
  533.          Top             =   660
  534.          Width           =   1020
  535.       End
  536.       Begin Label Label1 
  537.          Alignment       =   1  'Right Justify
  538.          AutoSize        =   -1  'True
  539.          BackStyle       =   0  'Transparent
  540.          Caption         =   "OffForeColor:"
  541.          FontBold        =   0   'False
  542.          FontItalic      =   0   'False
  543.          FontName        =   "Arial"
  544.          FontSize        =   8.25
  545.          FontStrikethru  =   0   'False
  546.          FontUnderline   =   0   'False
  547.          Height          =   210
  548.          Index           =   3
  549.          Left            =   135
  550.          TabIndex        =   18
  551.          Top             =   1005
  552.          Width           =   990
  553.       End
  554.       Begin Label Label2 
  555.          BackColor       =   &H000000FF&
  556.          Height          =   315
  557.          Index           =   1
  558.          Left            =   1185
  559.          TabIndex        =   17
  560.          Top             =   615
  561.          Width           =   1995
  562.       End
  563.       Begin Label Label3 
  564.          BackColor       =   &H00000000&
  565.          Height          =   315
  566.          Index           =   1
  567.          Left            =   1185
  568.          TabIndex        =   16
  569.          Top             =   945
  570.          Width           =   1995
  571.       End
  572.    End
  573.    Begin Frame Frame1 
  574.       BackColor       =   &H00C0C0C0&
  575.       Caption         =   "On Properties"
  576.       FontBold        =   -1  'True
  577.       FontItalic      =   0   'False
  578.       FontName        =   "Arial"
  579.       FontSize        =   8.25
  580.       FontStrikethru  =   0   'False
  581.       FontUnderline   =   0   'False
  582.       Height          =   2055
  583.       Left            =   4470
  584.       TabIndex        =   1
  585.       Top             =   2190
  586.       Width           =   4050
  587.       Begin HScrollBar HScroll2 
  588.          Height          =   255
  589.          Index           =   0
  590.          Left            =   1200
  591.          Max             =   50
  592.          Min             =   -50
  593.          TabIndex        =   27
  594.          Top             =   1605
  595.          Width           =   2000
  596.       End
  597.       Begin HScrollBar HScroll1 
  598.          Height          =   255
  599.          Index           =   0
  600.          Left            =   1200
  601.          Max             =   50
  602.          Min             =   -50
  603.          TabIndex        =   24
  604.          Top             =   1320
  605.          Width           =   2000
  606.       End
  607.       Begin TextBox Text1 
  608.          Height          =   315
  609.          Index           =   0
  610.          Left            =   1200
  611.          TabIndex        =   4
  612.          Text            =   "On"
  613.          Top             =   285
  614.          Width           =   2000
  615.       End
  616.       Begin Label Label5 
  617.          AutoSize        =   -1  'True
  618.          BackStyle       =   0  'Transparent
  619.          Caption         =   "0"
  620.          Height          =   195
  621.          Index           =   0
  622.          Left            =   3270
  623.          TabIndex        =   23
  624.          Top             =   1635
  625.          Width           =   120
  626.       End
  627.       Begin Label Label1 
  628.          Alignment       =   1  'Right Justify
  629.          AutoSize        =   -1  'True
  630.          BackStyle       =   0  'Transparent
  631.          Caption         =   "OnY:"
  632.          FontBold        =   0   'False
  633.          FontItalic      =   0   'False
  634.          FontName        =   "Arial"
  635.          FontSize        =   8.25
  636.          FontStrikethru  =   0   'False
  637.          FontUnderline   =   0   'False
  638.          Height          =   210
  639.          Index           =   7
  640.          Left            =   765
  641.          TabIndex        =   26
  642.          Top             =   1635
  643.          Width           =   375
  644.       End
  645.       Begin Label Label4 
  646.          AutoSize        =   -1  'True
  647.          BackStyle       =   0  'Transparent
  648.          Caption         =   "0"
  649.          Height          =   195
  650.          Index           =   0
  651.          Left            =   3270
  652.          TabIndex        =   25
  653.          Top             =   1335
  654.          Width           =   120
  655.       End
  656.       Begin Label Label1 
  657.          Alignment       =   1  'Right Justify
  658.          AutoSize        =   -1  'True
  659.          BackStyle       =   0  'Transparent
  660.          Caption         =   "OnX:"
  661.          FontBold        =   0   'False
  662.          FontItalic      =   0   'False
  663.          FontName        =   "Arial"
  664.          FontSize        =   8.25
  665.          FontStrikethru  =   0   'False
  666.          FontUnderline   =   0   'False
  667.          Height          =   210
  668.          Index           =   6
  669.          Left            =   765
  670.          TabIndex        =   22
  671.          Top             =   1335
  672.          Width           =   360
  673.       End
  674.       Begin Label Label3 
  675.          BackColor       =   &H00000000&
  676.          Height          =   315
  677.          Index           =   0
  678.          Left            =   1200
  679.          TabIndex        =   13
  680.          Top             =   945
  681.          Width           =   1995
  682.       End
  683.       Begin Label Label2 
  684.          BackColor       =   &H0000FF00&
  685.          Height          =   315
  686.          Index           =   0
  687.          Left            =   1200
  688.          TabIndex        =   8
  689.          Top             =   615
  690.          Width           =   1995
  691.       End
  692.       Begin Label Label1 
  693.          Alignment       =   1  'Right Justify
  694.          AutoSize        =   -1  'True
  695.          BackStyle       =   0  'Transparent
  696.          Caption         =   "OnForeColor:"
  697.          FontBold        =   0   'False
  698.          FontItalic      =   0   'False
  699.          FontName        =   "Arial"
  700.          FontSize        =   8.25
  701.          FontStrikethru  =   0   'False
  702.          FontUnderline   =   0   'False
  703.          Height          =   210
  704.          Index           =   2
  705.          Left            =   165
  706.          TabIndex        =   7
  707.          Top             =   1005
  708.          Width           =   960
  709.       End
  710.       Begin Label Label1 
  711.          Alignment       =   1  'Right Justify
  712.          AutoSize        =   -1  'True
  713.          BackStyle       =   0  'Transparent
  714.          Caption         =   "OnBackColor:"
  715.          FontBold        =   0   'False
  716.          FontItalic      =   0   'False
  717.          FontName        =   "Arial"
  718.          FontSize        =   8.25
  719.          FontStrikethru  =   0   'False
  720.          FontUnderline   =   0   'False
  721.          Height          =   210
  722.          Index           =   1
  723.          Left            =   150
  724.          TabIndex        =   6
  725.          Top             =   675
  726.          Width           =   990
  727.       End
  728.       Begin Label Label1 
  729.          Alignment       =   1  'Right Justify
  730.          AutoSize        =   -1  'True
  731.          BackStyle       =   0  'Transparent
  732.          Caption         =   "OnCaption:"
  733.          FontBold        =   0   'False
  734.          FontItalic      =   0   'False
  735.          FontName        =   "Arial"
  736.          FontSize        =   8.25
  737.          FontStrikethru  =   0   'False
  738.          FontUnderline   =   0   'False
  739.          Height          =   210
  740.          Index           =   0
  741.          Left            =   330
  742.          TabIndex        =   2
  743.          Top             =   345
  744.          Width           =   795
  745.       End
  746.    End
  747.    Begin TOGGLE Toggle1 
  748.       AutoSize        =   0   'False
  749.       AVersion        =   2.5
  750.       BackColor       =   &H00C0C0C0&
  751.       BevelInner      =   1  ' 1 - Raised
  752.       BevelOuter      =   2  ' 2 - Inset
  753.       BevelWidth      =   2
  754.       BlinkMode       =   0  ' 0 - Never
  755.       BlinkRate       =   0
  756.       BorderWidth     =   2
  757.       FontBold        =   -1  'True
  758.       FontItalic      =   0   'False
  759.       FontName        =   "MS Sans Serif"
  760.       FontSize        =   24
  761.       FontStrikethru  =   0   'False
  762.       FontUnderline   =   0   'False
  763.       Height          =   915
  764.       Left            =   630
  765.       MouseControl    =   -1  'True
  766.       OffBackColor    =   &H000000FF&
  767.       OffCaption      =   "Off"
  768.       OffForeColor    =   &H00000000&
  769.       OffWave         =   ""
  770.       OffX            =   0
  771.       OffY            =   0
  772.       OnBackColor     =   &H0000FF00&
  773.       OnCaption       =   "On"
  774.       OnForeColor     =   &H00000000&
  775.       OnTimer         =   0
  776.       OnWave          =   ""
  777.       OnX             =   0
  778.       OnY             =   0
  779.       Outline         =   0   'False
  780.       OutlineColor    =   &H00000000&
  781.       PushX           =   0
  782.       PushY           =   0
  783.       Sound           =   0   'False
  784.       TabIndex        =   0
  785.       Top             =   210
  786.       TwoState        =   0   'False
  787.       Value           =   0   'False
  788.       Width           =   2685
  789.    End
  790.    Begin CommonDialog CMDialog1 
  791.       Left            =   3780
  792.       Top             =   180
  793.    End
  794. End
  795.  
  796. Sub Check1_Click ()
  797.  
  798.     toggle1.MouseControl = check1
  799.  
  800. End Sub
  801.  
  802. Sub Check2_Click ()
  803.  
  804.     toggle1.TwoState = check2
  805.  
  806. End Sub
  807.  
  808. Sub Check3_Click ()
  809.  
  810.     toggle1.Outline = check3
  811.  
  812. End Sub
  813.  
  814. Sub Form_Load ()
  815.  
  816.     hscroll3(0) = toggle1.BevelWidth
  817.     hscroll3(1) = toggle1.BorderWidth
  818.     
  819.     hscroll1(0) = toggle1.OnX
  820.     hscroll1(1) = toggle1.OffX
  821.     hscroll1(1) = toggle1.PushX
  822.  
  823.     hscroll2(0) = toggle1.OnY
  824.     hscroll2(1) = toggle1.OffY
  825.     hscroll2(1) = toggle1.PushY
  826.  
  827. End Sub
  828.  
  829. Sub HScroll1_Change (index As Integer)
  830.  
  831.     Select Case index
  832.         Case 0
  833.             toggle1.OnX = hscroll1(index)
  834.         Case 1
  835.             toggle1.OffX = hscroll1(index)
  836.         Case 2
  837.             toggle1.PushX = hscroll1(index)
  838.     End Select
  839.  
  840.     label4(index) = hscroll1(index)
  841.  
  842. End Sub
  843.  
  844. Sub HScroll1_Scroll (index As Integer)
  845.  
  846.     Select Case index
  847.         Case 0
  848.             toggle1.OnX = hscroll1(index)
  849.         Case 1
  850.             toggle1.OffX = hscroll1(index)
  851.         Case 2
  852.             toggle1.PushX = hscroll1(index)
  853.     End Select
  854.  
  855.     label4(index) = hscroll1(index)
  856.  
  857. End Sub
  858.  
  859. Sub HScroll2_Change (index As Integer)
  860.  
  861.     Select Case index
  862.         Case 0
  863.             toggle1.OnY = hscroll2(index)
  864.         Case 1
  865.             toggle1.OffY = hscroll2(index)
  866.         Case 2
  867.             toggle1.PushY = hscroll2(index)
  868.     End Select
  869.  
  870.     label5(index) = hscroll2(index)
  871.  
  872. End Sub
  873.  
  874. Sub HScroll2_Scroll (index As Integer)
  875.  
  876.     Select Case index
  877.         Case 0
  878.             toggle1.OnY = hscroll2(index)
  879.         Case 1
  880.             toggle1.OffY = hscroll2(index)
  881.         Case 2
  882.             toggle1.PushY = hscroll2(index)
  883.     End Select
  884.  
  885.     label5(index) = hscroll2(index)
  886.  
  887. End Sub
  888.  
  889. Sub HScroll3_Change (index As Integer)
  890.  
  891.     Select Case index
  892.         Case 0
  893.             toggle1.BevelWidth = hscroll3(index)
  894.         Case 1
  895.             toggle1.BorderWidth = hscroll3(index)
  896.     End Select
  897.  
  898.     label6(index) = hscroll3(index)
  899.  
  900. End Sub
  901.  
  902. Sub HScroll3_Scroll (index As Integer)
  903.  
  904.     Select Case index
  905.         Case 0
  906.             toggle1.BevelWidth = hscroll3(index)
  907.         Case 1
  908.             toggle1.BorderWidth = hscroll3(index)
  909.     End Select
  910.  
  911.     label6(index) = hscroll3(index)
  912.  
  913. End Sub
  914.  
  915. Sub Label2_Click (index As Integer)
  916.  
  917.     cmdialog1.Color = label2(index).BackColor
  918.  
  919.     cmdialog1.Action = 3
  920.     
  921.     label2(index).BackColor = cmdialog1.Color
  922.  
  923.     Select Case index
  924.         Case 0
  925.             toggle1.OnBackColor = cmdialog1.Color
  926.         Case 1
  927.             toggle1.OffBackColor = cmdialog1.Color
  928.         Case 2
  929.             toggle1.OutlineColor = cmdialog1.Color
  930.     End Select
  931.  
  932. End Sub
  933.  
  934. Sub Label3_Click (index As Integer)
  935.  
  936.     cmdialog1.Color = label3(index).BackColor
  937.  
  938.     cmdialog1.Action = 3
  939.     
  940.     label3(index).BackColor = cmdialog1.Color
  941.  
  942.     Select Case index
  943.         Case 0
  944.             toggle1.OnForeColor = cmdialog1.Color
  945.         Case 1
  946.             toggle1.OffForeColor = cmdialog1.Color
  947.     End Select
  948.  
  949.  
  950. End Sub
  951.  
  952. Sub Option1_Click (index As Integer)
  953.  
  954.     toggle1.BevelInner = index
  955.  
  956. End Sub
  957.  
  958. Sub Option2_Click (index As Integer)
  959.  
  960.     toggle1.BevelOuter = index
  961.  
  962. End Sub
  963.  
  964.